<template>
    <div class="card-member-box">
        <div class="member-grade">
            <div class="imgWrap">
                <img
                    class="img"
                    src="https://img2.baidu.com/it/u=764734316,3321893002&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=400"
                    mode="scaleToFill"
                />
            </div>
            <div class="member-message">
                <div class="mem-name">普通会员</div>
                <div class="base-mes">再消费2000元升级银牌会员</div>
            </div>
        </div>
        <!-- 进度条 -->
        <div class="progress">
            <div class="proportion"></div>
        </div>
        <div class="member-equity">会员权益&gt;&gt;</div>
    </div>
</template>
<script setup >
</script>
<style scoped lang="scss">
.card-member-box{
    background: #fff;
    width: 14rem;
    height: 9.6rem;
    padding-left: .4rem;
    padding-right: .4rem;
    box-sizing: border-box;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius:1rem;
    .member-grade{
        display: flex;
        .imgWrap{
            width: 2.8rem;
            height: 3rem;
            .img{
                width: 100%;
                height: 100%;
                border-radius: .5rem;
            }
        }
        .member-message{
            margin-left: .5rem;
            .mem-name{
                font-size: 1rem;
                font-weight: bold;
            }
            .base-mes{
                font-size: .8rem;
                color: #ccc;
                margin-top: .4rem;
            }
        }
    }
    .progress{
        width: 13.2rem;
        height: 1.2rem;
        margin-top: .7rem;
        background: #eae4e4;
     
        border-radius: 1rem;
        .proportion{
            height: 1.2rem;
            border-radius: 1rem;
            width: 80%;
            background: rgb(255, 166, 88);
        }
      
    }
    .member-equity{
            color: #ee984e;
            font-size: 1.2rem;
            margin-top: 1rem;
        }
    
}
</style>
